home *** CD-ROM | disk | FTP | other *** search
- ; $VER: EDDock
-
- (delopts "oknodelete" "force" "askuser")
- (complete 0)
-
- ; This install script is public domain. Feel free to include it with
- ; your own API clients.
-
- (if (exists "GoldED:" (NOREQ))
-
- (
- (message (cat "\n"
-
- " Another GoldED API Example \n"
- " ~~~~~~~~~~~~~~~~~~~~~~~~~~ \n"
- " by Richard Bemrose \n"
- " of Engineering Ideas (tm) \n"
- " \n"
- " Internet: r.bemrose@sheffield-hallam.ac.uk \n"
- " \n"
- " PUBLIC DOMAIN \n"
- ))
-
- (complete 10)
-
- (set icons (askchoice
-
- (prompt "Select dock size according to your screen resolution")
-
- (choices
-
- " 8 icons (requires 640 * 240 or better)"
- " 13 icons (requires 640 * 400 or better)"
- " 16 icons (requires 640 * 480 or better)"
- " 17 icons (requires 640 * 512 or better)"
- )
-
- (help @askchoice-help)
-
- (default 2)
- ))
-
- (complete 20)
-
- (if (= icons 0) (set prefs "dock8.prefs"))
- (if (= icons 1) (set prefs "dock13.prefs"))
- (if (= icons 2) (set prefs "dock16.prefs"))
- (if (= icons 3) (set prefs "dock17.prefs"))
-
- (copyfiles
-
- (source "iconsEI")
- (dest "GoldED:API/dock/iconsEI")
- (all)
- )
-
- (complete 80)
-
- (copyfiles
-
- (source prefs)
- (dest "GoldED:API/dock")
- (newname "dockEI.prefs")
- )
-
- (complete 90)
-
- (copyfiles
- (source "EIDock.api")
- (dest "sys:Prefs/Presets/GoldED")
- )
-
- (complete 100)
-
- (message (cat "\n"
-
- "API client installed. Please load the preset\n"
- "file 'EIDock.api' from within GoldED's API \n"
- "requester (<load> gadget). \n"
- ))
- )
- (
- (message (cat "\n"
-
- "Please install GoldED before attempting to\n"
- "install this client. \n"
- ))
- )
- )
-
- (exit (quiet))
-
- (welcome)
-